Skip to main content

deletePolicy

Delete a single policy

GraphQL Schema

extend type mutation {
"""Delete a single policy"""
deletePolicy(input: DeletePolicyInput): DeletePolicyPayload
}

Arguments

NameTypeDescription
input[DeletePolicyInput](/04-reference/05-Input Objects/DeletePolicyInput.mdx)

Response Shape

This mutation returns DeletePolicyPayload

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information